﻿namespace DataCenter.MyConst
{
    static class URL
    {
        //const string ADDR_HEAD = "http://140.143.97.188:80/";
        const string ADDR_HEAD = "http://127.0.0.1:8800/";
        internal const string LOGIN = ADDR_HEAD + "login";
        internal const string REGISTER = ADDR_HEAD + "register";
        internal const string RESETPASSWD = ADDR_HEAD + "resetpasswd";
        internal const string TOPUP = ADDR_HEAD + "top_up";
        internal const string GETUSERPOINT = ADDR_HEAD + "getuserpoint";
        internal const string CREATECARDS = ADDR_HEAD + "create_cards";
        internal const string TOPUPDIRECT = ADDR_HEAD + "root_top_up";
        internal const string GETYZM = ADDR_HEAD + "getyzm";
        internal const string HAVEPERMISSION = ADDR_HEAD + "permission";
        internal const string CALL_API= ADDR_HEAD + "apis";

        internal const string NEWS_CONTENT = "http://ifzq.gtimg.cn/appstock/news/newsInfo/getNewsContent?id={0}";
        internal const string GET_STOCKLIST_OF_BK = "http://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/Market_Center.getHQNodeData?page={0}&num={1}&sort={2}&asc={3}&node={4}";
        internal const string GET_STOCKNUM_IN_BK = "http://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/Market_Center.getHQNodeStockCount?node={0}";
        internal const string SSSJ = "http://qt.gtimg.cn/q={0}";

    }

    public static class APINames
    {
        public const string ZHISHUYL = "zhishuyl";
        public const string SEARCH = "search";
        public const string BKRANKING = "bk_ranking";
        public const string LASTK = "get_k_last";
        public const string GETK = "get_k";
        public const string TICK = "get_tick";
        public const string GGYL = "ggyl";
        public const string GENERALINFORMATION = "get_stock_general_infomation";
        public const string NEWSLIST = "get_news_list";
    }
}
